{"ast":null,"code":"import { createUnarySpacing } from '../spacing';\n\n/* tslint:enable:unified-signatures */\nexport default function createSpacing() {\n  var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8;\n  // Already transformed.\n  if (spacingInput.mui) {\n    return spacingInput;\n  } // Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n  // Smaller components, such as icons, can align to a 4dp grid.\n  // https://material.io/design/layout/understanding-layout.html#usage\n\n  var transform = createUnarySpacing({\n    spacing: spacingInput\n  });\n  var spacing = function spacing() {\n    for (var _len = arguments.length, argsInput = new Array(_len), _key = 0; _key < _len; _key++) {\n      argsInput[_key] = arguments[_key];\n    }\n    if (process.env.NODE_ENV !== 'production') {\n      if (!(argsInput.length <= 4)) {\n        console.error(\"MUI: Too many arguments provided, expected between 0 and 4, got \".concat(argsInput.length));\n      }\n    }\n    var args = argsInput.length === 0 ? [1] : argsInput;\n    return args.map(function (argument) {\n      var output = transform(argument);\n      return typeof output === 'number' ? \"\".concat(output, \"px\") : output;\n    }).join(' ');\n  };\n  spacing.mui = true;\n  return spacing;\n}","map":{"version":3,"names":["createUnarySpacing","createSpacing","spacingInput","mui","transform","spacing","argsInput","process","env","NODE_ENV","length","console","error","args","map","argument","output","join"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/system/esm/createTheme/createSpacing.js"],"sourcesContent":["import { createUnarySpacing } from '../spacing';\n\n/* tslint:enable:unified-signatures */\nexport default function createSpacing(spacingInput = 8) {\n  // Already transformed.\n  if (spacingInput.mui) {\n    return spacingInput;\n  } // Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n  // Smaller components, such as icons, can align to a 4dp grid.\n  // https://material.io/design/layout/understanding-layout.html#usage\n\n\n  const transform = createUnarySpacing({\n    spacing: spacingInput\n  });\n\n  const spacing = (...argsInput) => {\n    if (process.env.NODE_ENV !== 'production') {\n      if (!(argsInput.length <= 4)) {\n        console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n      }\n    }\n\n    const args = argsInput.length === 0 ? [1] : argsInput;\n    return args.map(argument => {\n      const output = transform(argument);\n      return typeof output === 'number' ? `${output}px` : output;\n    }).join(' ');\n  };\n\n  spacing.mui = true;\n  return spacing;\n}"],"mappings":"AAAA,SAASA,kBAAkB,QAAQ,YAAY;;AAE/C;AACA,eAAe,SAASC,aAAa,GAAmB;EAAA,IAAlBC,YAAY,uEAAG,CAAC;EACpD;EACA,IAAIA,YAAY,CAACC,GAAG,EAAE;IACpB,OAAOD,YAAY;EACrB,CAAC,CAAC;EACF;EACA;;EAGA,IAAME,SAAS,GAAGJ,kBAAkB,CAAC;IACnCK,OAAO,EAAEH;EACX,CAAC,CAAC;EAEF,IAAMG,OAAO,GAAG,SAAVA,OAAO,GAAqB;IAAA,kCAAdC,SAAS;MAATA,SAAS;IAAA;IAC3B,IAAIC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;MACzC,IAAI,EAAEH,SAAS,CAACI,MAAM,IAAI,CAAC,CAAC,EAAE;QAC5BC,OAAO,CAACC,KAAK,2EAAoEN,SAAS,CAACI,MAAM,EAAG;MACtG;IACF;IAEA,IAAMG,IAAI,GAAGP,SAAS,CAACI,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAGJ,SAAS;IACrD,OAAOO,IAAI,CAACC,GAAG,CAAC,UAAAC,QAAQ,EAAI;MAC1B,IAAMC,MAAM,GAAGZ,SAAS,CAACW,QAAQ,CAAC;MAClC,OAAO,OAAOC,MAAM,KAAK,QAAQ,aAAMA,MAAM,UAAOA,MAAM;IAC5D,CAAC,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC;EACd,CAAC;EAEDZ,OAAO,CAACF,GAAG,GAAG,IAAI;EAClB,OAAOE,OAAO;AAChB"},"metadata":{},"sourceType":"module"}